#!/bin/bash
rm ~/bag/**
rosbag record -O ~/bag/$(date +"%Y-%m-%d_%H-%M-%S").bag \
              -e "(.*)mavros(.*)" \
                 "/camera/pose"

